package com.nlp.server.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户会话实体类
 * @author shiliuyinzhen
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserChat implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 会话id */
    private Long chatId;

    /** 删除标志 */
    private Integer delFlag;

    /** 创建时间 */
    private LocalDateTime createTime;
}
